import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
  {
    path: "/",
    component: () => import("@/view/index"),
    meta: { title: "" },
    children: [
      //财务管理课程列表页面
      {
        path: "curriculum",
        component: () => import("@/view/pages/curriculum"),
      },
      //课堂作业 页面
      {
        path: "/assistant",
        component: () => import("@/view/pages/assistant"),
      },
      //学生信息页面
      {
        path: "/tool",
        component: () => import("@/view/pages/tool"),
      },
      //模板选择页面
      {
        path: "/pptTemp",
        component: () => import("@/view/pages/pptTemplate"),
      },
      {
        path: "/practice",
        component: () => import("@/view/pages/practice"),
      },
    ],
  },
  { path: "/login", component: () => import("@/view/login/index") },
];
const router = createRouter({ history: createWebHashHistory(), routes });
export default router;
